package com.itheima.commom;

public class CodeBlock {
    public static String schoolName;
    public static String[] card;
    //静态代码块
    static {
        schoolName = "itheima";
        System.out.println("静态代码块");
        card[0] = "A";
        card[1] = "B";
        card[2] = "C";
    }

    public static void main(String[] args) {
        System.out.println("main方法");
    }
}
